package com.rabbit.eap.framework.log.service;

import com.rabbit.eap.framework.common.service.BaseService;
import com.rabbit.eap.framework.core.pagination.Paging;
import com.rabbit.eap.framework.log.entity.SysLoginLog;
import com.rabbit.eap.framework.log.param.SysLoginLogPageParam;

/**
 * @projectName eap
 * @packageName com.rabbit.eap.framework.log.service
 * @className ISysLoginLogService
 * @author： rabbit
 * @version： 1.0
 * @since： 2020/4/25 20:29
 * <p>Description: ISysLoginLogService
 * 系统登录日志 服务类
 * </p>

 */
public interface ISysLoginLogService extends BaseService<SysLoginLog> {
    /**
     * 保存
     *
     * @param sysLoginLog
     * @return
     * @throws Exception
     */
    boolean saveSysLoginLog(SysLoginLog sysLoginLog) throws Exception;

    /**
     * 修改
     *
     * @param sysLoginLog
     * @return
     * @throws Exception
     */
    boolean updateSysLoginLog(SysLoginLog sysLoginLog) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteSysLoginLog(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param sysLoginLogPageParam
     * @return
     * @throws Exception
     */
    Paging<SysLoginLog> getSysLoginLogPageList(SysLoginLogPageParam sysLoginLogPageParam) throws Exception;

}
